package com.xiege.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 榭歌
 * @since 2023-03-04
 */
@Getter
@Setter
  @ApiModel(value = "Way对象", description = "")
public class Way implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("热门路线名称")
      private String wayname;

      @ApiModelProperty("热门路线描述")
      private String description;

      @ApiModelProperty("途径城市名")
      private String city;

      @ApiModelProperty("路线图片路径")
      private String picUrl;

      @ApiModelProperty("阅读次数")
      private Integer viewCount;


}
